package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 档案查阅管理功能对象 register
 * 
 * @author zzr
 * @date 2025-01-06
 */
public class Register extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 查询时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "查询时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 查询人数 */
    @Excel(name = "查询人数")
    private Long people;

    /** 所在单位 */
    @Excel(name = "所在单位")
    private String unit;

    /** 用途 */
    @Excel(name = "用途")
    private String purpose;

    /** 详细用途 */
    @Excel(name = "详细用途")
    private String detailPurpose;

    /** 分类号 */
    @Excel(name = "分类号")
    private String classNumber;

    /** 案卷卷册 */
    @Excel(name = "案卷卷册")
    private Long volume;

    /** 案卷编号 */
    @Excel(name = "案卷编号")
    private Long serial;

    /** 档案内容 */
    @Excel(name = "档案内容")
    private String archiveDetails;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String number;

    /** 备注 */
    @Excel(name = "备注")
    private String ps;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTime(Date time) 
    {
        this.time = time;
    }

    public Date getTime() 
    {
        return time;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setPeople(Long people) 
    {
        this.people = people;
    }

    public Long getPeople() 
    {
        return people;
    }
    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }
    public void setPurpose(String purpose) 
    {
        this.purpose = purpose;
    }

    public String getPurpose() 
    {
        return purpose;
    }
    public void setDetailPurpose(String detailPurpose) 
    {
        this.detailPurpose = detailPurpose;
    }

    public String getDetailPurpose() 
    {
        return detailPurpose;
    }
    public void setClassNumber(String classNumber) 
    {
        this.classNumber = classNumber;
    }

    public String getClassNumber() 
    {
        return classNumber;
    }
    public void setVolume(Long volume) 
    {
        this.volume = volume;
    }

    public Long getVolume() 
    {
        return volume;
    }
    public void setSerial(Long serial) 
    {
        this.serial = serial;
    }

    public Long getSerial() 
    {
        return serial;
    }
    public void setArchiveDetails(String archiveDetails) 
    {
        this.archiveDetails = archiveDetails;
    }

    public String getArchiveDetails() 
    {
        return archiveDetails;
    }
    public void setNumber(String number) 
    {
        this.number = number;
    }

    public String getNumber() 
    {
        return number;
    }
    public void setPs(String ps) 
    {
        this.ps = ps;
    }

    public String getPs() 
    {
        return ps;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("time", getTime())
            .append("name", getName())
            .append("people", getPeople())
            .append("unit", getUnit())
            .append("purpose", getPurpose())
            .append("detailPurpose", getDetailPurpose())
            .append("classNumber", getClassNumber())
            .append("volume", getVolume())
            .append("serial", getSerial())
            .append("archiveDetails", getArchiveDetails())
            .append("number", getNumber())
            .append("ps", getPs())
            .toString();
    }
}
